package com.zxp.server.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zxp.server.dto.BlogTypeInfo;
import com.zxp.server.mapper.BlogTypeMapper;
import com.zxp.server.service.IBlogTypeService;
import com.zxp.server.vo.BlogType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 朱小皮
 * @since 2022-05-14
 */
@Service
public class BlogTypeServiceImpl extends ServiceImpl<BlogTypeMapper, BlogType> implements IBlogTypeService {
    @Autowired
    private BlogTypeMapper blogTypeMapper;
    @Override
    public List<BlogTypeInfo> getBlogTypeInfo() {
        return blogTypeMapper.getBlogTypeInfo();
    }
}
